﻿<ContentControl x:Class="Wintellect.LiveFx.Cloudboard.ItemCarousel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:win="clr-namespace:Wintellect.LiveFx.Cloudboard"
>
  <ContentControl.InputBindings>
    <KeyBinding Key="Right"
              Command="{x:Static win:ItemCarousel.RotateRight}" />
    <KeyBinding Key="Left"
              Command="{x:Static win:ItemCarousel.RotateLeft}" />
  </ContentControl.InputBindings>
  <ContentControl.CommandBindings>
    <CommandBinding Command="{x:Static win:ItemCarousel.RotateRight}"
                  Executed="RotateRightCommandExecuted"/>
    <CommandBinding Command="{x:Static win:ItemCarousel.RotateLeft}"
                  Executed="RotateLeftCommandExecuted"/>
  </ContentControl.CommandBindings>
  <Canvas x:Name="background" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  </Canvas>
</ContentControl>
